﻿using MongoDB.Attributes;
using System;

namespace Resn.WhuPub.DML
{
        /// <summary>
        /// 联系人数据模型
        /// </summary>
        public class ContactModel:IIdentity
        {
                #region 属性

                /// <summary>
                /// 获取或设置标识
                /// </summary>
                /// <value>
                /// 标识
                /// </value>
                [MongoId]
                public String Id { get; set; }

                /// <summary>
                /// 获取联系人所属部门部门Id
                /// </summary>
                /// <value>
                /// 联系人所属部门部门Id
                /// </value>
                public String DepartmentId { get; set; }

                /// <summary>
                /// 获取或设置联系人姓名
                /// </summary>
                /// <value>
                /// 联系人姓名
                /// </value>
                public String Name { get; set; }

                /// <summary>
                /// 获取或设置联系人职称
                /// </summary>
                /// <value>
                /// 联系人职称，多个职称以分号隔开
                /// </value>
                public String Title { get; set; }

                /// <summary>
                /// 获取或设置联系人职务
                /// </summary>
                /// <value>
                /// 联系人职务，多个职务已分号隔开
                /// </value>
                public String Duty { get; set; }

                /// <summary>
                /// 获取或设置联系人电话
                /// </summary>
                /// <value>
                /// 联系人电话，多个电话以分号隔开
                /// </value>
                public String Telephone { get; set; }

                /// <summary>
                /// 获取或设置联系人QQ
                /// </summary>
                /// <value>
                /// 联系人QQ，多个QQ以分号隔开
                /// </value>
                public String QQ { get; set; }

                /// <summary>
                /// 获取或设置联系人电子邮箱
                /// </summary>
                /// <value>
                /// 联系人电子邮箱，多个电子邮箱以分号隔开
                /// </value>
                public String Email { get; set; }

                /// <summary>
                /// 获取或设置联系人是否为本社作者
                /// </summary>
                /// <value>
                /// 联系人为本社作者时为True,否则为False
                /// </value>
                public bool IsOwnAuthor { get; set; }

                /// <summary>
                /// 获取或设置联系人社会兼职
                /// </summary>
                /// <value>
                /// 联系人社追兼职，多个兼职以分号隔开
                /// </value>
                public String SoicalDuty { get; set; }

                /// <summary>
                /// 获取或设置备注
                /// </summary>
                /// <value>
                /// 备注
                /// </value>
                public String Memo { get; set; }

                #endregion 属性
        }
}